@import "../../common/css/theme.less";

html, body {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  overflow: hidden;
}

a, p {
  word-break: break-word;
}

img {
  max-width: 100%;
}

.margin-top-8 {
  margin-top: 8px;
}

.margin-top-10 {
  margin-top: 10px;
}

.margin-top-20 {
  margin-top: 20px;
}

.margin-left-10 {
  margin-left: 10px;
}

.margin-bottom-10 {
  margin-bottom: 10px;
}

.margin-bottom-100 {
  margin-bottom: 100px;
}

.margin-right-10 {
  margin-right: 10px;
}

.padding-left-6 {
  padding-left: 6px;
}

.padding-left-8 {
  padding-left: 5px;
}

.padding-left-10 {
  padding-left: 10px;
}

.padding-left-20 {
  padding-left: 20px;
}

.height-100 {
  height: 100%;
}

.height-120px {
  height: 100px;
}

.height-200px {
  height: 200px;
}

.height-492px {
  height: 492px;
}

.height-460px {
  height: 460px;
}

.line-gray {
  height: 0;
  border-bottom: 2px solid #dcdcdc;
}

.notwrap {
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.padding-left-5 {
  padding-left: 10px;
}

[v-cloak] {
  display: none;
}

.search-item {
  display: flex;
  float: left;
  margin-right: 10px;
  .item {
    line-height: 32px;
  }
}

.common-card {
  overflow: hidden;
  min-height: 800px
}

.search-item {
  display: flex;
  float: left;
  margin-right: 10px;
  .item {
    line-height: 32px;
  }
}

.noResult {
  text-align: center;
  padding: 10px;
  font-size: 18px
}

.product {
  width: 240px;
  float: left;
  overflow: hidden;
  margin: 0 10px 15px;
  .img {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .info {
    p {
      overflow: hidden;
      word-break: break-all;
      text-overflow: ellipsis;
      white-space: nowrap;
      span {
        text-align: left;
        display: inline-block;
        width: 100px;
      }
      span:nth-child(2) {
        padding-left: 28px;
        float: right;
      }
    }
    .btn {
      margin-top: 10px;
      overflow: hidden;
      Button {
        float: right;
        margin-left: 10px
      }
    }
  }
}

.img {
  display: inline-block;
  width: 120px;
  height: 120px;
  text-align: center;
  line-height: 120px;
  color: #ccc;
  font-weight: bold;
  font-size: 30px;
  cursor: pointer;
  border-radius: 3px;
  img {
    width: 100%;
    height: 100%;
  }
}

.upload-list {
  display: inline-block;
  width: 120px;
  height: 120px;
  text-align: center;
  line-height: 120px;
  border: 1px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  position: relative;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  margin-right: 4px;
}

.upload-list {
  img {
    width: 100%;
    height: 100%;
  }
}

.upload-list-cover {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .6);
}

.upload-list:hover .upload-list-cover {
  display: block;
}

.upload-list-cover i {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  margin: 0 2px;
}
